package com.jckj.core.annotation;

import com.jckj.core.db.DataSourceEnum;
import org.springframework.core.annotation.Order;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by zhiyuan on 2017/12/24.
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Order(1)
public @interface CurrentDataSource {
    DataSourceEnum value();
}
